/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using DGZImp.SysEntity;

namespace DGZImp.BasProject.DomainModels
{
    [Entity(TableCnName = "标签模板管理",TableName = "Bas_Label",DBServer = "ServiceDbContext")]
    public partial class Bas_Label:ServiceEntity
    {
        /// <summary>
       ///创建人
       /// </summary>
       [Display(Name ="创建人")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string Createtor { get; set; }

       /// <summary>
       ///
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="LabelId")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long LabelId { get; set; }

       /// <summary>
       ///标签层级
       /// </summary>
       [Display(Name ="标签层级")]
       [MaxLength(64)]
       [Column(TypeName="nvarchar(64)")]
       public string Level { get; set; }

       /// <summary>
       ///档案类型
       /// </summary>
       [Display(Name ="档案类型")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int DocumentType { get; set; }

       /// <summary>
       ///标签版本号
       /// </summary>
       [Display(Name ="标签版本号")]
       [MaxLength(128)]
       [Column(TypeName="nvarchar(128)")]
       public string Version { get; set; }

       /// <summary>
       ///标签名称
       /// </summary>
       [Display(Name ="标签名称")]
       [MaxLength(512)]
       [Column(TypeName="nvarchar(512)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string LabelName { get; set; }

       /// <summary>
       ///设计内容
       /// </summary>
       [Display(Name ="设计内容")]
       [Column(TypeName="nvarchar(max)")]
       public string Content { get; set; }

       /// <summary>
       ///文件
       /// </summary>
       [Display(Name ="文件")]
       [MaxLength(64)]
       [Column(TypeName="nvarchar(64)")]
       public string FileId { get; set; }

       /// <summary>
       ///ZPL指令
       /// </summary>
       [Display(Name ="ZPL指令")]
       [Column(TypeName="nvarchar(max)")]
       public string Zpl { get; set; }

       /// <summary>
       ///标签类型
       /// </summary>
       [Display(Name ="标签类型")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int LabelType { get; set; }

       /// <summary>
       ///是否通用
       /// </summary>
       [Display(Name ="是否通用")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsCommon { get; set; }

       /// <summary>
       ///标签尺寸(mm)宽
       /// </summary>
       [Display(Name ="标签尺寸(mm)宽")]
       [MaxLength(64)]
       [Column(TypeName="nvarchar(64)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string WidthSize { get; set; }

       /// <summary>
       ///标签尺寸(mm)高
       /// </summary>
       [Display(Name ="标签尺寸(mm)高")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string HeightSize { get; set; }

       /// <summary>
       ///是否有效
       /// </summary>
       [Display(Name ="是否有效")]
       [Column(TypeName="int")]
       public int? IsValid { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CreateId")]
       [Column(TypeName="bigint")]
       public long? CreateId { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       public DateTime? CreateTime { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ModifyId")]
       [Column(TypeName="bigint")]
       public long? ModifyId { get; set; }

       /// <summary>
       ///修改人
       /// </summary>
       [Display(Name ="修改人")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       public DateTime? ModifyTime { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [MaxLength(1024)]
       [Column(TypeName="nvarchar(1024)")]
       [Editable(true)]
       public string Remarks { get; set; }

       
    }
}